package cn.xy.base.server.vo;

import lombok.Data;

/**
 * 登陆返回
 *
 *  @author xy
 */
@Data
public class LoginResult<T> {
    private String token;

    private T info;

    public LoginResult() {
    }

    public LoginResult(String token, T info) {
        this.setToken(token);
        this.setInfo(info);
    }
}
